package cn.jxufe.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import cn.jxufe.entity.User;


public interface UserDAO extends JpaRepository<User, Long>{
	// 出现过的问题：userName 写成name
	Page<User> findByUserNameContaining(String userName, Pageable pageRequest);

}
